[BLKTAP] Remove unnecessary TLB flush from blktap driver.
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Fri, 29 Sep 2006 10:17:29 +0000 (11:17 +0100)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Fri, 29 Sep 2006 10:17:29 +0000 (11:17 +0100)
commit541466f790bc7b606f5497bad72dd048174490b8
treeb330aa9d3fe32a6168d3dcd10d90229bbc3706b1
parent80550dad577bec47979ff6057dac92f9c7503a37
[BLKTAP] Remove unnecessary TLB flush from blktap driver.

blktap_poll is calling tlb_flush_all() in its main ring buffer polling
loop.  This seems to be superfluous: the hypervisor should be
performing
any necessary tlb flushes on grant table operations performed by the
back-end.  Even a simple memory barrier is unnecessary here as the
RING_PUSH_REQUESTS() call performs a wmb() anyway.

And tlb_flush_all() is not exported to modules, so this call prevents
blktap from building as a module.  Just remove it.

Signed-off-by: Stephen Tweedie <sct@redhat.com>
linux-2.6-xen-sparse/drivers/xen/blktap/blktap.c